<?php ob_start();
session_start(); //on relaye la session
if(isset($_SESSION["is_registered"]) && $_SESSION["is_registered"] == "registered"){
	$enregistrer = $_SESSION["is_registered"];
	$message="";
}else{
	header("Location:../../menu.php?erreur=intru"); // redirection en cas d'echec
}
$aff="";
if($_POST['val_sel']=='P')  $aff .= "<a href=./rib/index.php>".$_SESSION['typepers']."</a>"; else $aff="RIB";
 echo $aff; 
?>
<?php ob_end_flush();?>